package spring.autowire.util;

import spring.autowire.context.PrintText;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration
@EnableAspectJAutoProxy
public class UtilConfig {
    @Bean
    public PrintText creatBeanA() {
        return new PrintText("Bean \t AAAAAAAAA");
    }

    @Bean
    public PrintText creatBeanB() {
        return new PrintText("Bean \t BBBBBBBBB");
    }


}
